package loki

Import Path
	github.com/K-Phoen/grabana/target/loki (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 2 packages

Involved Source Files loki.go
Package-Level Type Names (total 2)
/* sort by: | */
Loki represents a loki query. Expr string Hidden bool LegendFormat string Ref string func New(query string, options ...Option) *Loki
Option represents an option that can be used to configure a loki query. func Hide() Option func Legend(legend string) Option func Ref(ref string) Option func New(query string, options ...Option) *Loki func github.com/K-Phoen/grabana/logs.WithLokiTarget(query string, options ...Option) logs.Option func github.com/K-Phoen/grabana/timeseries.WithLokiTarget(query string, options ...Option) timeseries.Option
Package-Level Functions (total 4)
Hide the query. Grafana does not send hidden queries to the data source, but they can still be referenced in alerts.
Legend sets the legend format.
New creates a new prometheus query.
Ref sets the reference ID for this query.